package com.ddwl.shop.dao.mapper;

import com.ddwl.common.dao.mapper.TkMapper;
import com.ddwl.schema.bo.shop.QueryResentShopBo;
import com.ddwl.schema.bo.shop.QueryShopBo;
import com.ddwl.shop.dao.model.Shop;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Shop)数据库交互Mapper
 *
 * @author wenbin
 * @since 2020-06-02 14:48:12
 */
public interface ShopMapper extends TkMapper<Shop> {

    /**
     * 查询门店信息明细
     * @param param
     * @retrun shop
     * */
    Shop queryShopDetailConsole(@Param("param") QueryShopBo param);

    /**
     * 查询门店信息明细列表
     * @param param
     * @retrun List
     * */
    List<Shop> queryShopList(@Param("param") QueryShopBo param);

    /**
     * 查询最近浏览门店列表
     * @param bo
     * @retrun List<ShopVo>
     * */
    List<Shop> getResentShop(@Param("bo") QueryResentShopBo bo);

}